Model run by stephane.hess using Apollo 0.3.9 on R 4.5.3 for Darwin. Please acknowledge the use of Apollo by citing Hess & Palma (2019) DOI 10.1016/j.jocm.2019.100170 www.ApolloChoiceModelling.com Model name : eMDC_with_budget Model description : Extended MDC with complementarity and substitution, with observed budget and socio-demographics Model run at : 2026-07-05 16:16:06.296088 Estimation method : bgw Estimation diagnosis : Relative function convergence (favorable) Optimisation diagnosis : Maximum found hessian properties : Negative definite maximum eigenvalue : -1.936291 reciprocal of condition number : 1.03156e-05 Number of individuals : 439 Number of rows in database : 1983 Number of modelled outcomes : 0 Number of cores used : 1 Model without mixing LL(start) : -11825.17 LL at equal shares, LL(0) : NA LL at observed shares, LL(C) : NA LL(final) : -10577.74 Rho-squared vs equal shares : Not applicable Adj.Rho-squared vs equal shares : Not applicable Rho-squared vs observed shares : Not applicable Adj.Rho-squared vs observed shares : Not applicable AIC : 21195.48 BIC : NA Estimated parameters : 20 Time taken (hh:mm:ss) : 00:00:25.95 pre-estimation : 00:00:0.4 estimation : 00:00:6.22 post-estimation : 00:00:19.33 Iterations : 14 Unconstrained optimisation. Estimates: Estimate s.e. t.rat.(0) Rob.s.e. Rob.t.rat.(0) aFemale -0.10169 0.048091 -2.115 0.070623 -1.440 sigma 1.93188 0.049891 38.722 0.112359 17.194 gWork 3.32251 0.290609 11.433 0.344803 9.636 gSchool 3.38022 0.716524 4.718 0.740174 4.567 gShopping 0.44287 0.042782 10.352 0.056792 7.798 gPrivate 0.75056 0.093304 8.044 0.150383 4.991 gLeisure 1.71341 0.148351 11.550 0.198638 8.626 bWork -3.78916 0.112114 -33.797 0.169567 -22.346 bSchool -7.29803 0.216471 -33.714 0.342405 -21.314 bShopping -4.17530 0.077209 -54.078 0.106534 -39.192 bPrivate -4.76178 0.087122 -54.657 0.124695 -38.188 bLeisure -3.66114 0.074542 -49.115 0.099711 -36.717 bWork_FT 1.25683 0.122541 10.256 0.173837 7.230 bWork_wknd -2.88266 0.168900 -17.067 0.256822 -11.224 bSchool_young 1.74073 0.241184 7.217 0.347662 5.007 bLeisure_wknd 0.28309 0.106323 2.663 0.107188 2.641 dWorkScho -0.02103 0.007980 -2.636 0.008350 -2.519 dWorkShop 0.00000 NA NA NA NA dWorkPriv 0.00000 NA NA NA NA dWorkLeis 0.00000 NA NA NA NA dSchoShop 0.00000 NA NA NA NA dSchoPriv 0.00000 NA NA NA NA dSchoLeis 0.00000 NA NA NA NA dShopPriv 0.01117 0.004331 2.579 0.004155 2.689 dShopLeis 0.01651 0.003263 5.059 0.003323 4.967 dPrivLeis 0.02324 0.002956 7.860 0.003208 7.243 work school shopping private leisure Times available 1983.000000 1983.0000000 1983.0000000 1983.0000000 1983.000000 Times chosen 782.000000 60.0000000 557.0000000 396.0000000 808.000000 % chosen when avail. 39.435199 3.0257186 28.0887544 19.9697428 40.746344 Avg. consump. when avail. 2.830509 0.1110103 0.5286939 0.4372584 1.783728 Avg. consump. when chosen 7.177621 3.6688889 1.8822262 2.1896044 4.377640 Classical covariance matrix: aFemale sigma gWork gSchool gShopping gPrivate gLeisure bWork bSchool bShopping bPrivate bLeisure aFemale 0.002313 -1.1358e-04 2.9596e-04 1.2523e-04 7.986e-05 2.7595e-04 3.2826e-04 0.001636 0.001676 0.001385 0.001310 0.001358 sigma -1.1358e-04 0.002489 -0.006844 -0.006525 -0.001113 -0.002217 -0.004140 -0.001197 -0.005595 -0.001698 -0.002262 -0.001065 gWork 2.9596e-04 -0.006844 0.084454 0.026280 0.003030 0.006005 0.011048 -0.002829 0.014382 0.004689 0.006251 0.002983 gSchool 1.2523e-04 -0.006525 0.026280 0.513407 0.002897 0.005694 0.010563 8.6052e-04 -1.9319e-04 0.004374 0.005889 0.002749 gShopping 7.986e-05 -0.001113 0.003030 0.002897 0.001830 0.001003 0.001981 5.5765e-04 0.002520 -1.6431e-04 0.001007 4.2824e-04 gPrivate 2.7595e-04 -0.002217 0.006005 0.005694 0.001003 0.008706 0.003824 0.001194 0.005096 0.001576 -2.0848e-04 9.2708e-04 gLeisure 3.2826e-04 -0.004140 0.011048 0.010563 0.001981 0.003824 0.022008 0.002117 0.009403 0.002528 0.003607 -8.2695e-04 bWork 0.001636 -0.001197 -0.002829 8.6052e-04 5.5765e-04 0.001194 0.002117 0.012570 0.003893 0.001710 0.001911 0.001404 bSchool 0.001676 -0.005595 0.014382 -1.9319e-04 0.002520 0.005096 0.009403 0.003893 0.046860 0.004621 0.005826 0.003199 bShopping 0.001385 -0.001698 0.004689 0.004374 -1.6431e-04 0.001576 0.002528 0.001710 0.004621 0.005961 0.002280 0.001646 bPrivate 0.001310 -0.002262 0.006251 0.005889 0.001007 -2.0848e-04 0.003607 0.001911 0.005826 0.002280 0.007590 0.001801 bLeisure 0.001358 -0.001065 0.002983 0.002749 4.2824e-04 9.2708e-04 -8.2695e-04 0.001404 0.003199 0.001646 0.001801 0.005557 bWork_FT -3.9962e-04 0.001375 -0.007224 -0.002795 -6.1753e-04 -0.001246 -0.002291 -0.010445 -0.003368 -0.001131 -0.001428 -7.8297e-04 bWork_wknd -1.943e-05 -0.003429 0.015278 0.010138 0.001528 0.003033 0.005663 -0.002095 0.007473 0.002242 0.003028 0.001374 bSchool_young 1.571e-05 0.002217 -0.006219 -0.015007 -9.8916e-04 -0.001964 -0.003675 -9.5249e-04 -0.037217 -0.001446 -0.001954 -8.8344e-04 bLeisure_wknd -8.698e-05 4.5381e-04 -0.001232 -0.001171 -2.2524e-04 -4.2783e-04 -0.001425 -2.6508e-04 -0.001061 -2.8882e-04 -4.2256e-04 -0.003940 dWorkScho -4.099e-05 -3.575e-05 4.0376e-04 0.002209 1.526e-05 2.783e-05 5.469e-05 -8.107e-05 -1.5593e-04 4.293e-07 1.057e-05 -8.459e-06 dShopPriv 2.613e-05 4.178e-06 -1.245e-05 -1.350e-05 1.473e-05 3.816e-05 -2.345e-05 1.611e-05 6.844e-06 -2.867e-05 -3.544e-05 2.167e-05 dShopLeis 2.621e-05 1.701e-05 -4.905e-05 -4.823e-05 2.267e-05 -2.118e-05 2.780e-05 1.051e-05 -2.156e-05 -7.494e-05 6.460e-06 -1.732e-05 dPrivLeis 4.624e-05 1.173e-05 -3.450e-05 -3.690e-05 -8.558e-06 6.286e-05 1.274e-05 2.661e-05 2.527e-06 2.799e-05 -6.194e-05 4.616e-06 bWork_FT bWork_wknd bSchool_young bLeisure_wknd dWorkScho dShopPriv dShopLeis dPrivLeis aFemale -3.9962e-04 -1.943e-05 1.571e-05 -8.698e-05 -4.099e-05 2.613e-05 2.621e-05 4.624e-05 sigma 0.001375 -0.003429 0.002217 4.5381e-04 -3.575e-05 4.178e-06 1.701e-05 1.173e-05 gWork -0.007224 0.015278 -0.006219 -0.001232 4.0376e-04 -1.245e-05 -4.905e-05 -3.450e-05 gSchool -0.002795 0.010138 -0.015007 -0.001171 0.002209 -1.350e-05 -4.823e-05 -3.690e-05 gShopping -6.1753e-04 0.001528 -9.8916e-04 -2.2524e-04 1.526e-05 1.473e-05 2.267e-05 -8.558e-06 gPrivate -0.001246 0.003033 -0.001964 -4.2783e-04 2.783e-05 3.816e-05 -2.118e-05 6.286e-05 gLeisure -0.002291 0.005663 -0.003675 -0.001425 5.469e-05 -2.345e-05 2.780e-05 1.274e-05 bWork -0.010445 -0.002095 -9.5249e-04 -2.6508e-04 -8.107e-05 1.611e-05 1.051e-05 2.661e-05 bSchool -0.003368 0.007473 -0.037217 -0.001061 -1.5593e-04 6.844e-06 -2.156e-05 2.527e-06 bShopping -0.001131 0.002242 -0.001446 -2.8882e-04 4.293e-07 -2.867e-05 -7.494e-05 2.799e-05 bPrivate -0.001428 0.003028 -0.001954 -4.2256e-04 1.057e-05 -3.544e-05 6.460e-06 -6.194e-05 bLeisure -7.8297e-04 0.001374 -8.8344e-04 -0.003940 -8.459e-06 2.167e-05 -1.732e-05 4.616e-06 bWork_FT 0.015016 -0.002618 0.001195 2.5961e-04 6.408e-06 -1.495e-06 5.568e-06 -2.507e-07 bWork_wknd -0.002618 0.028527 -0.003080 -6.1880e-04 9.123e-05 -7.832e-06 -2.568e-05 -1.990e-05 bSchool_young 0.001195 -0.003080 0.058170 4.0054e-04 -6.697e-05 5.064e-06 1.655e-05 1.287e-05 bLeisure_wknd 2.5961e-04 -6.1880e-04 4.0054e-04 0.011304 -5.190e-06 1.899e-06 -5.704e-06 -2.208e-06 dWorkScho 6.408e-06 9.123e-05 -6.697e-05 -5.190e-06 6.368e-05 -5.520e-07 -7.566e-07 -1.051e-06 dShopPriv -1.495e-06 -7.832e-06 5.064e-06 1.899e-06 -5.520e-07 1.876e-05 -5.320e-07 -1.943e-06 dShopLeis 5.568e-06 -2.568e-05 1.655e-05 -5.704e-06 -7.566e-07 -5.320e-07 1.064e-05 2.584e-07 dPrivLeis -2.507e-07 -1.990e-05 1.287e-05 -2.208e-06 -1.051e-06 -1.943e-06 2.584e-07 8.740e-06 Robust covariance matrix: aFemale sigma gWork gSchool gShopping gPrivate gLeisure bWork bSchool bShopping bPrivate bLeisure aFemale 0.004988 -3.5862e-04 -3.614e-05 0.001292 3.4554e-04 9.4687e-04 1.4979e-04 0.004575 0.004469 0.003207 0.002565 0.003099 sigma -3.5862e-04 0.012625 -0.029279 -0.035320 -0.003897 -0.011171 -0.016892 -0.006638 -0.026269 -0.006560 -0.009452 -0.004678 gWork -3.614e-05 -0.029279 0.118889 0.089749 0.008726 0.028227 0.041471 0.005880 0.057233 0.011548 0.020181 0.007748 gSchool 0.001292 -0.035320 0.089749 0.547857 0.010403 0.031883 0.049960 0.015903 0.107991 0.018160 0.024935 0.015751 gShopping 3.4554e-04 -0.003897 0.008726 0.010403 0.003225 0.003789 0.005688 0.002391 0.008478 8.5974e-04 0.002688 0.001091 gPrivate 9.4687e-04 -0.011171 0.028227 0.031883 0.003789 0.022615 0.016621 0.004502 0.023180 0.005021 0.005205 0.003010 gLeisure 1.4979e-04 -0.016892 0.041471 0.049960 0.005688 0.016621 0.039457 0.008557 0.037385 0.006657 0.009949 0.001794 bWork 0.004575 -0.006638 0.005880 0.015903 0.002391 0.004502 0.008557 0.028753 0.019467 0.007456 0.006893 0.004683 bSchool 0.004469 -0.026269 0.057233 0.107991 0.008478 0.023180 0.037385 0.019467 0.117241 0.014719 0.021808 0.012319 bShopping 0.003207 -0.006560 0.011548 0.018160 8.5974e-04 0.005021 0.006657 0.007456 0.014719 0.011350 0.007223 0.005281 bPrivate 0.002565 -0.009452 0.020181 0.024935 0.002688 0.005205 0.009949 0.006893 0.021808 0.007223 0.015549 0.006423 bLeisure 0.003099 -0.004678 0.007748 0.015751 0.001091 0.003010 0.001794 0.004683 0.012319 0.005281 0.006423 0.009942 bWork_FT -0.001682 0.006081 -0.019671 -0.015739 -0.001949 -0.004786 -0.008612 -0.024236 -0.014480 -0.004082 -0.004385 -0.001752 bWork_wknd 0.001029 -0.015760 0.057165 0.044192 0.005223 0.015214 0.022936 0.006229 0.032346 0.006264 0.012372 0.005217 bSchool_young -0.002454 0.009848 -0.020935 -0.114435 -0.003188 -0.008868 -0.015673 -0.013453 -0.081550 -0.005166 -0.008114 -0.004503 bLeisure_wknd -6.7286e-04 0.002553 -0.006703 -0.014091 -8.9155e-04 -0.002335 -0.003461 -0.001002 -0.007773 -3.2271e-04 -0.001798 -0.004697 dWorkScho -7.943e-05 -1.9301e-04 7.7893e-04 0.001899 4.648e-05 2.7202e-04 2.5933e-04 -6.386e-05 2.8929e-04 1.735e-05 8.574e-05 8.721e-06 dShopPriv 6.176e-05 -2.064e-05 6.081e-05 -1.979e-05 2.997e-05 5.759e-05 2.627e-05 4.653e-05 8.766e-05 -7.401e-06 -4.402e-06 5.202e-05 dShopLeis 4.950e-05 8.948e-05 -1.4333e-04 -1.6134e-04 6.949e-06 -2.665e-05 -4.819e-05 -1.970e-05 -1.5733e-04 -1.0779e-04 -6.826e-05 -4.248e-05 dPrivLeis 1.1397e-04 4.102e-05 -7.781e-05 2.015e-05 -1.642e-05 7.059e-05 -2.060e-05 2.807e-05 -2.723e-05 4.846e-05 -7.058e-05 2.291e-05 bWork_FT bWork_wknd bSchool_young bLeisure_wknd dWorkScho dShopPriv dShopLeis dPrivLeis aFemale -0.001682 0.001029 -0.002454 -6.7286e-04 -7.943e-05 6.176e-05 4.950e-05 1.1397e-04 sigma 0.006081 -0.015760 0.009848 0.002553 -1.9301e-04 -2.064e-05 8.948e-05 4.102e-05 gWork -0.019671 0.057165 -0.020935 -0.006703 7.7893e-04 6.081e-05 -1.4333e-04 -7.781e-05 gSchool -0.015739 0.044192 -0.114435 -0.014091 0.001899 -1.979e-05 -1.6134e-04 2.015e-05 gShopping -0.001949 0.005223 -0.003188 -8.9155e-04 4.648e-05 2.997e-05 6.949e-06 -1.642e-05 gPrivate -0.004786 0.015214 -0.008868 -0.002335 2.7202e-04 5.759e-05 -2.665e-05 7.059e-05 gLeisure -0.008612 0.022936 -0.015673 -0.003461 2.5933e-04 2.627e-05 -4.819e-05 -2.060e-05 bWork -0.024236 0.006229 -0.013453 -0.001002 -6.386e-05 4.653e-05 -1.970e-05 2.807e-05 bSchool -0.014480 0.032346 -0.081550 -0.007773 2.8929e-04 8.766e-05 -1.5733e-04 -2.723e-05 bShopping -0.004082 0.006264 -0.005166 -3.2271e-04 1.735e-05 -7.401e-06 -1.0779e-04 4.846e-05 bPrivate -0.004385 0.012372 -0.008114 -0.001798 8.574e-05 -4.402e-06 -6.826e-05 -7.058e-05 bLeisure -0.001752 0.005217 -0.004503 -0.004697 8.721e-06 5.202e-05 -4.248e-05 2.291e-05 bWork_FT 0.030219 -0.013409 0.010389 0.001445 -7.513e-05 -2.552e-05 8.988e-06 3.076e-05 bWork_wknd -0.013409 0.065957 -0.010747 -0.004534 3.5015e-04 3.563e-05 -2.106e-05 -4.997e-05 bSchool_young 0.010389 -0.010747 0.120869 0.005613 -5.6215e-04 -5.135e-05 4.195e-05 -2.740e-05 bLeisure_wknd 0.001445 -0.004534 0.005613 0.011489 -7.253e-05 -1.641e-05 -1.303e-05 -3.784e-06 dWorkScho -7.513e-05 3.5015e-04 -5.6215e-04 -7.253e-05 6.972e-05 -1.712e-06 -1.830e-07 -1.909e-06 dShopPriv -2.552e-05 3.563e-05 -5.135e-05 -1.641e-05 -1.712e-06 1.726e-05 -1.288e-07 -9.249e-07 dShopLeis 8.988e-06 -2.106e-05 4.195e-05 -1.303e-05 -1.830e-07 -1.288e-07 1.104e-05 1.916e-06 dPrivLeis 3.076e-05 -4.997e-05 -2.740e-05 -3.784e-06 -1.909e-06 -9.249e-07 1.916e-06 1.029e-05 Classical correlation matrix: aFemale sigma gWork gSchool gShopping gPrivate gLeisure bWork bSchool bShopping bPrivate bLeisure aFemale 1.000000 -0.04734 0.021177 0.003634 0.03882 0.06150 0.04601 0.30352 0.161037 0.37310 0.31262 0.37880 sigma -0.047338 1.00000 -0.472020 -0.182527 -0.52133 -0.47631 -0.55936 -0.21394 -0.518085 -0.44077 -0.52042 -0.28647 gWork 0.021177 -0.47202 1.000000 0.126207 0.24372 0.22148 0.25625 -0.08684 0.228623 0.20899 0.24689 0.13769 gSchool 0.003634 -0.18253 0.126207 1.000000 0.09451 0.08517 0.09937 0.01071 -0.001246 0.07906 0.09434 0.05147 gShopping 0.038816 -0.52133 0.243722 0.094515 1.00000 0.25116 0.31218 0.11626 0.272117 -0.04974 0.27026 0.13428 gPrivate 0.061499 -0.47631 0.221481 0.085167 0.25116 1.00000 0.27626 0.11418 0.252299 0.21882 -0.02565 0.13329 gLeisure 0.046012 -0.55936 0.256254 0.099369 0.31218 0.27626 1.00000 0.12731 0.292815 0.22067 0.27908 -0.07478 bWork 0.303517 -0.21394 -0.086843 0.010712 0.11626 0.11418 0.12731 1.00000 0.160426 0.19754 0.19563 0.16798 bSchool 0.161037 -0.51808 0.228623 -0.001246 0.27212 0.25230 0.29282 0.16043 1.000000 0.27649 0.30892 0.19825 bShopping 0.373101 -0.44077 0.208990 0.079059 -0.04974 0.21882 0.22067 0.19754 0.276491 1.00000 0.33897 0.28596 bPrivate 0.312616 -0.52042 0.246894 0.094340 0.27026 -0.02565 0.27908 0.19563 0.308922 0.33897 1.00000 0.27737 bLeisure 0.378801 -0.28647 0.137687 0.051466 0.13428 0.13329 -0.07478 0.16798 0.198255 0.28596 0.27737 1.00000 bWork_FT -0.067811 0.22494 -0.202851 -0.031828 -0.11779 -0.10898 -0.12600 -0.76026 -0.126964 -0.11949 -0.13375 -0.08572 bWork_wknd -0.002392 -0.40697 0.311253 0.083773 0.21150 0.19249 0.22603 -0.11066 0.204402 0.17194 0.20579 0.10910 bSchool_young 0.001354 0.18422 -0.088726 -0.086840 -0.09586 -0.08727 -0.10270 -0.03523 -0.712833 -0.07766 -0.09300 -0.04914 bLeisure_wknd -0.017011 0.08555 -0.039864 -0.015377 -0.04952 -0.04313 -0.09032 -0.02224 -0.046119 -0.03518 -0.04562 -0.49715 dWorkScho -0.106798 -0.08979 0.174103 0.386338 0.04470 0.03737 0.04620 -0.09061 -0.090267 6.9670e-04 0.01520 -0.01422 dShopPriv 0.125443 0.01933 -0.009889 -0.004350 0.07948 0.09443 -0.03649 0.03317 0.007300 -0.08573 -0.09392 0.06711 dShopLeis 0.167026 0.10453 -0.051733 -0.020631 0.16242 -0.06959 0.05744 0.02874 -0.030530 -0.29749 0.02273 -0.07124 dPrivLeis 0.325226 0.07956 -0.040156 -0.017420 -0.06766 0.22787 0.02905 0.08027 0.003948 0.12264 -0.24049 0.02095 bWork_FT bWork_wknd bSchool_young bLeisure_wknd dWorkScho dShopPriv dShopLeis dPrivLeis aFemale -0.067811 -0.002392 0.001354 -0.017011 -0.106798 0.125443 0.16703 0.325226 sigma 0.224939 -0.406970 0.184216 0.085552 -0.089793 0.019335 0.10453 0.079556 gWork -0.202851 0.311253 -0.088726 -0.039864 0.174103 -0.009889 -0.05173 -0.040156 gSchool -0.031828 0.083773 -0.086840 -0.015377 0.386338 -0.004350 -0.02063 -0.017420 gShopping -0.117792 0.211499 -0.095864 -0.049518 0.044700 0.079479 0.16242 -0.067662 gPrivate -0.108980 0.192487 -0.087265 -0.043126 0.037371 0.094431 -0.06959 0.227870 gLeisure -0.125997 0.226027 -0.102705 -0.090317 0.046200 -0.036493 0.05744 0.029050 bWork -0.760256 -0.110655 -0.035225 -0.022238 -0.090610 0.033170 0.02874 0.080273 bSchool -0.126964 0.204402 -0.712833 -0.046119 -0.090267 0.007300 -0.03053 0.003948 bShopping -0.119490 0.171941 -0.077659 -0.035183 6.9670e-04 -0.085733 -0.29749 0.122639 bPrivate -0.133749 0.205789 -0.093004 -0.045618 0.015199 -0.093923 0.02273 -0.240494 bLeisure -0.085715 0.109102 -0.049139 -0.497151 -0.014220 0.067108 -0.07124 0.020945 bWork_FT 1.000000 -0.126508 0.040433 0.019925 0.006553 -0.002816 0.01393 -6.9199e-04 bWork_wknd -0.126508 1.000000 -0.075609 -0.034458 0.067685 -0.010706 -0.04661 -0.039861 bSchool_young 0.040433 -0.075609 1.000000 0.015620 -0.034796 0.004848 0.02103 0.018045 bLeisure_wknd 0.019925 -0.034458 0.015620 1.000000 -0.006117 0.004123 -0.01644 -0.007024 dWorkScho 0.006553 0.067685 -0.034796 -0.006117 1.000000 -0.015969 -0.02906 -0.044527 dShopPriv -0.002816 -0.010706 0.004848 0.004123 -0.015969 1.000000 -0.03765 -0.151726 dShopLeis 0.013927 -0.046610 0.021029 -0.016444 -0.029061 -0.037651 1.00000 0.026790 dPrivLeis -6.9199e-04 -0.039861 0.018045 -0.007024 -0.044527 -0.151726 0.02679 1.000000 Robust correlation matrix: aFemale sigma gWork gSchool gShopping gPrivate gLeisure bWork bSchool bShopping bPrivate bLeisure aFemale 1.000000 -0.04519 -0.001484 0.024712 0.08615 0.08916 0.01068 0.38205 0.18479 0.42630 0.291264 0.44011 sigma -0.045194 1.00000 -0.755755 -0.424696 -0.61068 -0.66111 -0.75685 -0.34842 -0.68280 -0.54803 -0.674613 -0.41754 gWork -0.001484 -0.75576 1.000000 0.351663 0.44559 0.54436 0.60549 0.10056 0.48477 0.31438 0.469369 0.22537 gSchool 0.024712 -0.42470 0.351663 1.000000 0.24748 0.28644 0.33980 0.12671 0.42610 0.23030 0.270162 0.21342 gShopping 0.086152 -0.61068 0.445590 0.247479 1.00000 0.44362 0.50420 0.24832 0.43599 0.14210 0.379504 0.19274 gPrivate 0.089155 -0.66111 0.544363 0.286436 0.44362 1.00000 0.55642 0.17653 0.45017 0.31342 0.277569 0.20074 gLeisure 0.010678 -0.75685 0.605490 0.339802 0.50420 0.55642 1.00000 0.25405 0.54966 0.31459 0.401668 0.09058 bWork 0.382048 -0.34842 0.100564 0.126708 0.24832 0.17653 0.25405 1.00000 0.33529 0.41276 0.325984 0.27700 bSchool 0.184790 -0.68280 0.484773 0.426101 0.43599 0.45017 0.54966 0.33529 1.00000 0.40350 0.510780 0.36083 bShopping 0.426304 -0.54803 0.314380 0.230298 0.14210 0.31342 0.31459 0.41276 0.40350 1.00000 0.543724 0.49713 bPrivate 0.291264 -0.67461 0.469369 0.270162 0.37950 0.27757 0.40167 0.32598 0.51078 0.54372 1.000000 0.51662 bLeisure 0.440108 -0.41754 0.225369 0.213415 0.19274 0.20074 0.09058 0.27700 0.36083 0.49713 0.516620 1.00000 bWork_FT -0.137022 0.31131 -0.328180 -0.122322 -0.19739 -0.18307 -0.24940 -0.82219 -0.24327 -0.22042 -0.202282 -0.10105 bWork_wknd 0.056740 -0.54615 0.645548 0.232474 0.35808 0.39393 0.44960 0.14304 0.36783 0.22895 0.386331 0.20371 bSchool_young -0.099968 0.25210 -0.174644 -0.444702 -0.16146 -0.16962 -0.22695 -0.22820 -0.68506 -0.13947 -0.187166 -0.12988 bLeisure_wknd -0.088886 0.21195 -0.181373 -0.177603 -0.14646 -0.14483 -0.16257 -0.05513 -0.21179 -0.02826 -0.134517 -0.43946 dWorkScho -0.134693 -0.20573 0.270547 0.307217 0.09801 0.21663 0.15635 -0.04510 0.10118 0.01951 0.082348 0.01047 dShopPriv 0.210494 -0.04421 0.042449 -0.006436 0.12701 0.09217 0.03183 0.06604 0.06162 -0.01672 -0.008497 0.12557 dShopLeis 0.210925 0.23964 -0.125095 -0.065597 0.03682 -0.05333 -0.07301 -0.03495 -0.13827 -0.30448 -0.164728 -0.12821 dPrivLeis 0.503055 0.11379 -0.070343 0.008487 -0.09014 0.14632 -0.03232 0.05161 -0.02479 0.14181 -0.176434 0.07164 bWork_FT bWork_wknd bSchool_young bLeisure_wknd dWorkScho dShopPriv dShopLeis dPrivLeis aFemale -0.13702 0.05674 -0.09997 -0.08889 -0.134693 0.210494 0.210925 0.503055 sigma 0.31131 -0.54615 0.25210 0.21195 -0.205728 -0.044212 0.239643 0.113790 gWork -0.32818 0.64555 -0.17464 -0.18137 0.270547 0.042449 -0.125095 -0.070343 gSchool -0.12232 0.23247 -0.44470 -0.17760 0.307217 -0.006436 -0.065597 0.008487 gShopping -0.19739 0.35808 -0.16146 -0.14646 0.098013 0.127014 0.036821 -0.090140 gPrivate -0.18307 0.39393 -0.16962 -0.14483 0.216632 0.092167 -0.053329 0.146323 gLeisure -0.24940 0.44960 -0.22695 -0.16257 0.156354 0.031834 -0.073005 -0.032322 bWork -0.82219 0.14304 -0.22820 -0.05513 -0.045105 0.066042 -0.034953 0.051606 bSchool -0.24327 0.36783 -0.68506 -0.21179 0.101182 0.061616 -0.138274 -0.024789 bShopping -0.22042 0.22895 -0.13947 -0.02826 0.019509 -0.016720 -0.304481 0.141805 bPrivate -0.20228 0.38633 -0.18717 -0.13452 0.082348 -0.008497 -0.164728 -0.176434 bLeisure -0.10105 0.20371 -0.12988 -0.43946 0.010475 0.125568 -0.128211 0.071636 bWork_FT 1.00000 -0.30033 0.17190 0.07756 -0.051757 -0.035337 0.015559 0.055157 bWork_wknd -0.30033 1.00000 -0.12037 -0.16469 0.163283 0.033391 -0.024681 -0.060646 bSchool_young 0.17190 -0.12037 1.00000 0.15062 -0.193648 -0.035554 0.036314 -0.024568 bLeisure_wknd 0.07756 -0.16469 0.15062 1.00000 -0.081043 -0.036843 -0.036570 -0.011004 dWorkScho -0.05176 0.16328 -0.19365 -0.08104 1.000000 -0.049335 -0.006597 -0.071273 dShopPriv -0.03534 0.03339 -0.03555 -0.03684 -0.049335 1.000000 -0.009332 -0.069397 dShopLeis 0.01556 -0.02468 0.03631 -0.03657 -0.006597 -0.009332 1.000000 0.179745 dPrivLeis 0.05516 -0.06065 -0.02457 -0.01100 -0.071273 -0.069397 0.179745 1.000000 Settings and functions used in model definition: apollo_control -------------- Value modelDescr "Extended MDC with complementarity and substitution, with observed budget and socio-demographics" indivID "indivID" outputDirectory "output/" debug "FALSE" modelName "eMDC_with_budget" nCores "1" workInLogs "FALSE" seed "13" mixing "FALSE" HB "FALSE" noValidation "FALSE" noDiagnostics "FALSE" calculateLLC "TRUE" analyticHessian "FALSE" dropLoopExpansion "FALSE" dropRedefCheck "FALSE" memorySaver "FALSE" panelData "TRUE" analyticGrad "TRUE" analyticGrad_manualSet "FALSE" overridePanel "FALSE" preventOverridePanel "FALSE" noModification "FALSE" Hessian routines attempted -------------------------- numerical second derivative of LL (using numDeriv) apollo_probabilities ---------------------- function(apollo_beta, apollo_inputs, functionality="estimate"){ ### Initialise apollo_attach(apollo_beta, apollo_inputs) on.exit(apollo_detach(apollo_beta, apollo_inputs)) P = list() ### Prepare Inputs alts = c("work", "school", "shopping", "private", "leisure") nAlt = length(alts) ones = setNames(as.list(rep(1, nAlt)), alts) continuousChoice = list(work = t_a02/60, school = t_a03/60, shopping = t_a04/60, private = t_a05/60, leisure = t_leisure/60) utilities = list( work = bWork + bWork_FT*occ_full_time + bWork_wknd*weekend, school = bSchool + bSchool_young*(age<=30), shopping = bShopping, private = bPrivate, leisure = bLeisure + bLeisure_wknd*weekend ) gamma = list(work = gWork, school = gSchool, shopping = gShopping, private = gPrivate, leisure = gLeisure) delta = c(0, 0, 0, 0, 0, dWorkScho, 0, 0, 0, 0, dWorkShop, dSchoShop, 0, 0, 0, dWorkPriv, dSchoPriv, dShopPriv, 0, 0, dWorkLeis, dSchoLeis, dShopLeis, dPrivLeis, 0) delta = matrix(delta, nrow=nAlt, ncol=nAlt, byrow=TRUE) emdc_settings = list(continuousChoice = continuousChoice, avail = ones, utilityOutside = aFemale*female, utilities = utilities, budget = 24, sigma = sigma, gamma = gamma, delta = delta, cost = ones) P[["model"]] = apollo_emdc(emdc_settings, functionality) ### Comment out as necessary P = apollo_panelProd(P, apollo_inputs, functionality) P = apollo_prepareProb(P, apollo_inputs, functionality) return(P) }